$(function() {
	
	initArticleDetail();
	/*文章列表*/
	function initArticleDetail(){
		var articleId =utilModule.getQueryString("articleId");
		//var typeId =utilModule.getQueryString("typeId");
		var param = {"articleId":articleId};
		function callBackArticle (data){
			console.log(data);
			console.log(data.inputerName);
			if(data.inputerName=='admin'){
				data.inputerName = "馨语医疗";
			}
			var html = '';
				html += '<h1 class="mui-ellipsis-2">'+data.title+'</h1>'
						+'<div class="font3">'+data.inputerName+'<span>'+data.createtime+'</span></div>'
						//+'<p><img src="'+data.thumbnailurl+'"/></p>'
						+data.content;
						$(".article-detail").html(html);
		}
		articlemodule.articleDetail(param,callBackArticle);
	}
});